﻿using System;
using Downloader.Framework.Core;
using SharpArch.Domain.DomainModel;

namespace Downloader.Domain
{
    /// <summary>
    /// 用户表
    /// </summary>
    public class UserAccount : EntityBase
    {
        public UserAccount()
        {
            this.CreateTime = DateTime.Now;
            this.LastAcitve = DateTime.Now;
        }
        /// <summary>
        /// MemershipID
        /// </summary>
        public virtual Guid MemberShipId { get; set; }
        /// <summary>
        /// 用户名
        /// </summary>
        public virtual string UserName { get; set; }
        /// <summary>
        /// 密码
        /// </summary>
        public virtual string PassWord { get; set; }
        /// <summary>
        /// QQ号
        /// </summary>
        public virtual string QQ { get; set; }
        /// <summary>
        /// 邮箱地址。
        /// </summary>
        public virtual string Email { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public virtual DateTime CreateTime { get; set; }
        /// <summary>
        /// 最后一次活动时间
        /// </summary>
        public virtual DateTime LastAcitve { get; set; }
        /// <summary>
        /// 是否已经删除
        /// </summary>
        public virtual  bool IsDelete { get; set; }

    }
}
